﻿using AutoMapper;
using Business.BookManagement.Dto;
using Business.Models;
using Business.WarehouseManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.WarehouseManagement
{
    public class WarehouseAutoMapperProfile : Profile
    {
        public WarehouseAutoMapperProfile()
        {
            CreateMap<Warehouse, WarehouseDto>().ReverseMap();
            CreateMap<CreateOrUpdateWarehouseDto, Warehouse>().ReverseMap();
        }
    }

  
}
